home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
Resolve
/
Sample Application
/
Sample Application.rsrc
/
CODE_42_SSFOREIGN.txt
< prev
next >
Wrap
Text File
|
1993-07-15
|
10KB
|
177 lines
# near model CODE resource
# jump table entries: 10240-10240 (1 of them)
export_1280:
00000000 4E56 FEFE link A6, -0x0102
00000004 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000008 47EE FF00 lea.l A3, [A6 - 0x100]
0000000C 4246 clr.w D6
0000000E 206E 0008 movea.l A0, [A6 + 0x8]
00000012 52AE 0008 addq.l [A6 + 0x8], 1
00000016 7000 moveq.l D0, 0x00
00000018 1010 move.b D0, [A0]
0000001A 3E00 move.w D7, D0
0000001C 0C47 0005 cmpi.w D7, 0x5
00000020 6E4C bgt +0x4E /* 0000006E */
00000022 486E FEFE pea.l [A6 - 0x102]
00000026 486E 0008 pea.l [A6 + 0x8]
0000002A 4EAD 0C0A jsr [A5 + 0xC0A /* export_381 */]
0000002E 4A40 tst.w D0
00000030 508F addq.l A7, 8
00000032 6700 0186 beq +0x188 /* 000001BA */
00000036 3007 move.w D0, D7
00000038 5340 subq.w D0, 1
0000003A D16E FEFE add.w [A6 - 0x102], D0
0000003E 4A6E FEFE tst.w [A6 - 0x102]
00000042 6D00 0176 blt +0x178 /* 000001BA */
00000046 7008 moveq.l D0, 0x08
00000048 B06E FEFE cmp.w D0, [A6 - 0x102]
0000004C 6D00 016C blt +0x16E /* 000001BA */
00000050 302E FEFE move.w D0, [A6 - 0x102]
00000054 E540 asl D0.w, 2
00000056 41ED E4AC lea.l A0, [A5 - 0x1B54]
0000005A 4870 0000 pea.l [A0 + D0.w]
0000005E 486E 0008 pea.l [A6 + 0x8]
00000062 4EAD 0C4A jsr [A5 + 0xC4A /* export_389 */]
00000066 3C00 move.w D6, D0
00000068 508F addq.l A7, 8
0000006A 6000 014E bra +0x150 /* 000001BA */
label0000006E:
0000006E 0C47 000B cmpi.w D7, 0xB
00000072 6612 bne +0x14 /* 00000086 */
00000074 206E 0008 movea.l A0, [A6 + 0x8]
00000078 7000 moveq.l D0, 0x00
0000007A 1010 move.b D0, [A0]
0000007C 3B40 E594 move.w [A5 - 0x1A6C], D0
00000080 5246 addq.w D6, 1
00000082 6000 0136 bra +0x138 /* 000001BA */
label00000086:
00000086 2F0B move.l -[A7], A3
00000088 486E 0008 pea.l [A6 + 0x8]
0000008C 4EAD 0BD2 jsr [A5 + 0xBD2 /* export_374 */]
00000090 3C00 move.w D6, D0
00000092 508F addq.l A7, 8
00000094 6700 0124 beq +0x126 /* 000001BA */
00000098 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
0000009C 6706 beq +0x8 /* 000000A4 */
0000009E 0C47 000A cmpi.w D7, 0xA /* '\n' */
000000A2 6650 bne +0x52 /* 000000F4 */
label000000A4:
000000A4 4AAD BA78 tst.l [A5 - 0x4588]
000000A8 6720 beq +0x22 /* 000000CA */
000000AA 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
000000AE 660C bne +0xE /* 000000BC */
000000B0 206D BA78 movea.l A0, [A5 - 0x4588]
000000B4 41E8 01FE lea.l A0, [A0 + 0x1FE]
000000B8 2008 move.l D0, A0
000000BA 600A bra +0xC /* 000000C6 */
label000000BC:
000000BC 206D BA78 movea.l A0, [A5 - 0x4588]
000000C0 41E8 0204 lea.l A0, [A0 + 0x204]
000000C4 2008 move.l D0, A0
label000000C6:
000000C6 2840 movea.l A4, D0
000000C8 6016 bra +0x18 /* 000000E0 */
label000000CA:
000000CA 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
000000CE 6608 bne +0xA /* 000000D8 */
000000D0 41ED E5B6 lea.l A0, [A5 - 0x1A4A]
000000D4 2008 move.l D0, A0
000000D6 6006 bra +0x8 /* 000000DE */
label000000D8:
000000D8 41ED E5B0 lea.l A0, [A5 - 0x1A50]
000000DC 2008 move.l D0, A0
label000000DE:
000000DE 2840 movea.l A4, D0
label000000E0:
000000E0 7005 moveq.l D0, 0x05
000000E2 2F00 move.l -[A7], D0
000000E4 2F0B move.l -[A7], A3
000000E6 2F0C move.l -[A7], A4
000000E8 4EAD 0F7A jsr [A5 + 0xF7A /* export_491 */]
000000EC 4FEF 000C lea.l A7, [A7 + 0xC]
000000F0 6000 00C8 bra +0xCA /* 000001BA */
label000000F4:
000000F4 4A13 tst.b [A3]
000000F6 6708 beq +0xA /* 00000100 */
000000F8 7000 moveq.l D0, 0x00
000000FA 102B 0001 move.b D0, [A3 + 0x1]
000000FE 6002 bra +0x4 /* 00000102 */
label00000100:
00000100 7000 moveq.l D0, 0x00
label00000102:
00000102 3D40 FEFE move.w [A6 - 0x102], D0
00000106 7000 moveq.l D0, 0x00
00000108 102E FEFF move.b D0, [A6 - 0x101]
0000010C D040 add.w D0, D0
0000010E 41ED A414 lea.l A0, [A5 - 0x5BEC]
00000112 323C 0606 move.w D1, 0x606
00000116 C270 0000 and.w D1, [A0 + D0.w]
0000011A 6642 bne +0x44 /* 0000015E */
0000011C 302E FEFE move.w D0, [A6 - 0x102]
00000120 B06D BCC0 cmp.w D0, [A5 - 0x4340]
00000124 6738 beq +0x3A /* 0000015E */
00000126 206D BCF0 movea.l A0, [A5 - 0x4310]
0000012A 226D BCEC movea.l A1, [A5 - 0x4314]
0000012E 3029 004C move.w D0, [A1 + 0x4C]
00000132 5A40 addq.w D0, 5
00000134 7200 moveq.l D1, 0x00
00000136 3200 move.w D1, D0
00000138 102E FEFF move.b D0, [A6 - 0x101]
0000013C B030 1800 cmp.b D0, [A0 + D1]
00000140 671C beq +0x1E /* 0000015E */
00000142 206D BCF0 movea.l A0, [A5 - 0x4310]
00000146 226D BCEC movea.l A1, [A5 - 0x4314]
0000014A 3029 004E move.w D0, [A1 + 0x4E]
0000014E 5A40 addq.w D0, 5
00000150 7200 moveq.l D1, 0x00
00000152 3200 move.w D1, D0
00000154 102E FEFF move.b D0, [A6 - 0x101]
00000158 B030 1800 cmp.b D0, [A0 + D1]
0000015C 660E bne +0x10 /* 0000016C */
label0000015E:
0000015E 707B moveq.l D0, 0x7B
00000160 2F00 move.l -[A7], D0
00000162 4EAD 19BA jsr [A5 + 0x19BA /* export_819 */]
00000166 4246 clr.w D6
00000168 588F addq.l A7, 4
0000016A 604E bra +0x50 /* 000001BA */
label0000016C:
0000016C 0C47 0006 cmpi.w D7, 0x6
00000170 6608 bne +0xA /* 0000017A */
00000172 1B6E FEFF E5C2 move.b [A5 - 0x1A3E], [A6 - 0x101]
00000178 6040 bra +0x42 /* 000001BA */
label0000017A:
0000017A 0C47 0007 cmpi.w D7, 0x7
0000017E 6608 bne +0xA /* 00000188 */
00000180 1B6E FEFF E5C0 move.b [A5 - 0x1A40], [A6 - 0x101]
00000186 6032 bra +0x34 /* 000001BA */
label00000188:
00000188 0C47 0008 cmpi.w D7, 0x8
0000018C 6620 bne +0x22 /* 000001AE */
0000018E 1B6E FEFF E5BE move.b [A5 - 0x1A42], [A6 - 0x101]
00000194 206D BCF0 movea.l A0, [A5 - 0x4310]
00000198 226D BCEC movea.l A1, [A5 - 0x4314]
0000019C 3029 0048 move.w D0, [A1 + 0x48]
000001A0 5A40 addq.w D0, 5
000001A2 7200 moveq.l D1, 0x00
000001A4 3200 move.w D1, D0
000001A6 11AE FEFF 1800 move.b [A0 + D1], [A6 - 0x101]
000001AC 600C bra +0xE /* 000001BA */
label000001AE:
000001AE 0C47 000C cmpi.w D7, 0xC
000001B2 6606 bne +0x8 /* 000001BA */
000001B4 1B6E FEFF E5BC move.b [A5 - 0x1A44], [A6 - 0x101]
label000001BA:
000001BA 4AAD B9FC tst.l [A5 - 0x4604]
000001BE 670E beq +0x10 /* 000001CE */
000001C0 4A46 tst.w D6
000001C2 670A beq +0xC /* 000001CE */
000001C4 2F2D B9FC move.l -[A7], [A5 - 0x4604]
000001C8 4EAD 14CA jsr [A5 + 0x14CA /* export_661 */]
000001CC 588F addq.l A7, 4
label000001CE:
000001CE 3006 move.w D0, D6
000001D0 4CEE 18C0 FEEE movem.l D6,D7,A3,A4, [A6 - 0x112]
000001D6 4E5E unlink A6
000001D8 4E75 rts